package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.example.demo.service.CourseService;

import java.io.Serializable;

/**
 * (Course2)表实体类
 *
 * @author makejava
 * @since 2021-03-05 18:56:41
 */
@SuppressWarnings("serial")
public class Course2 extends Model<Course2> {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String rwlx;

    private String xkly;

    private String bklx_id;

    private String xqh_id;

    private String jg_id;

    private String zyh_id;

    private String zyfx_id;

    private String njdm_id;

    private String bh_id;

    private String xbm;

    private String xslbdm;

    private String ccdm;

    private String xsbj;

    private String sfkknj;

    private String sfkkzy;

    private String sfznkx;

    private String zdkxms;

    private String sfkxq;

    private String sfkcfx;

    private String kkbk;

    private String kkbkdj;

    private String xkxnm;

    private String xkxqm;

    private String rlkz;

    private String kklxdm;

    private String kch_id;

    private String xkkz_id;

    private String cxbj;

    private String fxbj;

    private String name;

//    public Course2(String name,CourseService courseService,String kch_id,String xkkz_id) {
//        Course course = courseService.getByName(name);
//        rwlx = course.getRwlx();
//        xkly = course.getXkly();
//        bklx_id = course.getBklx_id();
//        xqh_id = course.getXqh_id();
//        jg_id = course.getJg_id();
//        zyh_id = course.getZyh_id();
//        zyfx_id = course.getZyfx_id();
//        njdm_id = course.getNjdm_id();
//        bh_id = course.getBh_id();
//        xbm = course.getXbm();
//        xslbdm = course.getXslbdm();
//        ccdm = course.getCcdm();
//        xsbj = course.getXsbj();
//        sfkknj = course.getSfkknj();
//        sfkkzy = course.getSfkkzy();
//        sfznkx = course.getSfznkx();
//        zdkxms = course.getZdkxms();
//        sfkxq = course.getSfkxq();
//        sfkcfx = course.getSfkcfx();
//        kkbk = course.getKkbk();
//        kkbkdj = course.getKkbkdj();
//        xkxnm = course.getXkxnm();
//        xkxqm = course.getXkxqm();
//        rlkz = course.getRlkz();
//        kklxdm = course.getKklxdm();
//        this.kch_id = kch_id;
//        this.xkkz_id = xkkz_id;
//        cxbj = "0";
//        fxbj = "0";
//    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRwlx() {
        return rwlx;
    }

    public void setRwlx(String rwlx) {
        this.rwlx = rwlx;
    }

    public String getXkly() {
        return xkly;
    }

    public void setXkly(String xkly) {
        this.xkly = xkly;
    }

    public String getBklx_id() {
        return bklx_id;
    }

    public void setBklx_id(String bklx_id) {
        this.bklx_id = bklx_id;
    }

    public String getXqh_id() {
        return xqh_id;
    }

    public void setXqh_id(String xqh_id) {
        this.xqh_id = xqh_id;
    }

    public String getJg_id() {
        return jg_id;
    }

    public void setJg_id(String jg_id) {
        this.jg_id = jg_id;
    }

    public String getZyh_id() {
        return zyh_id;
    }

    public void setZyh_id(String zyh_id) {
        this.zyh_id = zyh_id;
    }

    public String getZyfx_id() {
        return zyfx_id;
    }

    public void setZyfx_id(String zyfx_id) {
        this.zyfx_id = zyfx_id;
    }

    public String getNjdm_id() {
        return njdm_id;
    }

    public void setNjdm_id(String njdm_id) {
        this.njdm_id = njdm_id;
    }

    public String getBh_id() {
        return bh_id;
    }

    public void setBh_id(String bh_id) {
        this.bh_id = bh_id;
    }

    public String getXbm() {
        return xbm;
    }

    public void setXbm(String xbm) {
        this.xbm = xbm;
    }

    public String getXslbdm() {
        return xslbdm;
    }

    public void setXslbdm(String xslbdm) {
        this.xslbdm = xslbdm;
    }

    public String getCcdm() {
        return ccdm;
    }

    public void setCcdm(String ccdm) {
        this.ccdm = ccdm;
    }

    public String getXsbj() {
        return xsbj;
    }

    public void setXsbj(String xsbj) {
        this.xsbj = xsbj;
    }

    public String getSfkknj() {
        return sfkknj;
    }

    public void setSfkknj(String sfkknj) {
        this.sfkknj = sfkknj;
    }

    public String getSfkkzy() {
        return sfkkzy;
    }

    public void setSfkkzy(String sfkkzy) {
        this.sfkkzy = sfkkzy;
    }

    public String getSfznkx() {
        return sfznkx;
    }

    public void setSfznkx(String sfznkx) {
        this.sfznkx = sfznkx;
    }

    public String getZdkxms() {
        return zdkxms;
    }

    public void setZdkxms(String zdkxms) {
        this.zdkxms = zdkxms;
    }

    public String getSfkxq() {
        return sfkxq;
    }

    public void setSfkxq(String sfkxq) {
        this.sfkxq = sfkxq;
    }

    public String getSfkcfx() {
        return sfkcfx;
    }

    public void setSfkcfx(String sfkcfx) {
        this.sfkcfx = sfkcfx;
    }

    public String getKkbk() {
        return kkbk;
    }

    public void setKkbk(String kkbk) {
        this.kkbk = kkbk;
    }

    public String getKkbkdj() {
        return kkbkdj;
    }

    public void setKkbkdj(String kkbkdj) {
        this.kkbkdj = kkbkdj;
    }

    public String getXkxnm() {
        return xkxnm;
    }

    public void setXkxnm(String xkxnm) {
        this.xkxnm = xkxnm;
    }

    public String getXkxqm() {
        return xkxqm;
    }

    public void setXkxqm(String xkxqm) {
        this.xkxqm = xkxqm;
    }

    public String getRlkz() {
        return rlkz;
    }

    public void setRlkz(String rlkz) {
        this.rlkz = rlkz;
    }

    public String getKklxdm() {
        return kklxdm;
    }

    public void setKklxdm(String kklxdm) {
        this.kklxdm = kklxdm;
    }

    public String getKch_id() {
        return kch_id;
    }

    public void setKch_id(String kch_id) {
        this.kch_id = kch_id;
    }

    public String getXkkz_id() {
        return xkkz_id;
    }

    public void setXkkz_id(String xkkz_id) {
        this.xkkz_id = xkkz_id;
    }

    public String getCxbj() {
        return cxbj;
    }

    public void setCxbj(String cxbj) {
        this.cxbj = cxbj;
    }

    public String getFxbj() {
        return fxbj;
    }

    public void setFxbj(String fxbj) {
        this.fxbj = fxbj;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}